﻿using JetBrains.ReSharper.Daemon.Xml.Stages;
using JetBrains.ReSharper.Psi.Xaml.Tree;
using JetBrains.ReSharper.Psi.Xml.Tree;

namespace GammaJul.ReSharper.GammaXaml.Analysis.Xaml {

	/// <summary>
	/// Base class for XAML analyzers.
	/// </summary>
	public abstract class XamlAnalysis : XmlAnalysis {

		/// <summary>
		/// Gets the XAML file that is analyzed.
		/// </summary>
		protected IXamlFile XamlFile { get; private set; }

		public override void Init(IXmlFile file) {
			base.Init(file);
			XamlFile = (IXamlFile) file;
		}

	}

}